import request from '@/utils/request'

export function getPage(searchData) {
  return request({
    url: '/examUser/page',
    method: 'post',
    data: searchData
  });
}



export function addExamUser(searchData) {
  return request({
    url: '/examUser/add',
    method: 'post',
    data: searchData
  });
}


export function deleteExamUser(id) {
  return request({
    url: '/examUser/delete',
    method: 'get',
    params: {"id": id}
  });
}

export function detailExamUser(id) {
  return request({
    url: '/examUser/detail',
    method: 'get',
    params: {"id": id}
  });
}





export function updateExamUser(searchData) {
  return request({
    url: '/examUser/update',
    method: 'post',
    data: searchData
  });
}


